import request from '@/utils/request'

const prefix = '/v1'

export function avatar(params) {
    return request.post(`${prefix}/avatarUpload`, params)
}

// 上传图片
export function customerUploadPictures(query) {
    return request({
      //接口地址
      url: `${prefix}/avatarUpload`,
      //请求方式
      method: 'post',
      //数据
      data: query
    })
}